package weaver.splittable.biz;

import java.util.Map;

public class STBizConfig {

    private String bizName;

    private Map<String, String> splitTables;

    private STBizInterceptor bizInterceptor;

    private STBizDataCleaner bizDataCleaner;

    public STBizConfig(String bizName, Map<String, String> splitTables, STBizInterceptor bizInterceptor, STBizDataCleaner bizDataCleaner) {
        this.bizName = bizName;
        this.splitTables = splitTables;
        this.bizInterceptor = bizInterceptor;
        this.bizDataCleaner = bizDataCleaner;
    }

    public String getBizName() {
        return bizName;
    }

    public void setBizName(String bizName) {
        this.bizName = bizName;
    }

    public Map<String, String> getSplitTables() {
        return splitTables;
    }

    public void setSplitTables(Map<String, String> splitTables) {
        this.splitTables = splitTables;
    }

    public STBizInterceptor getBizInterceptor() {
        return bizInterceptor;
    }

    public void setBizInterceptor(STBizInterceptor bizInterceptor) {
        this.bizInterceptor = bizInterceptor;
    }

    public STBizDataCleaner getBizDataCleaner() {
        return bizDataCleaner;
    }

    public void setBizDataCleaner(STBizDataCleaner bizDataCleaner) {
        this.bizDataCleaner = bizDataCleaner;
    }
}
